package engine.systems.collision.collectable
{
	import ash.core.Component;
	import ash.core.Entity;
	
	import org.osflash.signals.Signal;
	
	public class Collector extends Component
	{
		public var collectables:Array 	= [];
		public var collected:Signal 	= new Signal(Entity, Entity);
		
		public function Collector()
		{
			
		}
		
		override public function destroy():void
		{
			this.collectables = null;
			
			this.collected.removeAll();
			this.collected = null;
		}
	}
}